package top.infopub.model.bpa;

import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;

import java.math.BigDecimal;
import java.util.Date;

/*分包合同--补充协议（BPA_SUBPACK_SUPPLE）*/
public class SubpackSupple {

    /*pk*/
    private String id;
    /*单据编号*/
    private String codes;
    /*项目编码*/
    private String proCode;
    /*补充协议名称*/
    private String contractName;
    /*公司ID*/
    private String orgId;
    /*合同签订日期*/
    @JsonFormat(pattern="yyyy-MM-dd",timezone = "GMT+8")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    private Date signDate;
    /*分包合同编码*/
    private String suppleCode;
    /*承包模式*/
    private String contType;
    /*是否纳入综合计划*/
    private String isPlan;
    /*添加人*/
    private String addBy;
    /*添加时间*/
    @JsonFormat(pattern="yyyy-MM-dd",timezone = "GMT+8")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    private Date addTime;
    /*修改人*/
    private String uptBy;
    /*修改时间*/
    @JsonFormat(pattern="yyyy-MM-dd",timezone = "GMT+8")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    private Date uptTime;
    /*当前审批状态 1=审批中 9=审批完成 10=审批终止*/
    private String processStatus;
    /*关联的审批流程ID*/
    private String processId;
    /*补充协议说明*/
    private String memo;

    //合同总价--下浮前
    private BigDecimal contractPriceBegin;
    //合同总价(下浮后)
    private BigDecimal	contractPriceAfter;
    //整体下浮率
    private BigDecimal wholeFloat;
    //是否扣除
    private BigDecimal	isDeduct;
    //原总包合同范围内金额(下浮前）
    private BigDecimal	originalPriceBegin;
    //原总包合同范围内金额（下浮后)
    private BigDecimal	originalPriceAfter;

    public BigDecimal getContractPriceBegin() {
        return contractPriceBegin;
    }

    public void setContractPriceBegin(BigDecimal contractPriceBegin) {
        this.contractPriceBegin = contractPriceBegin;
    }

    public BigDecimal getContractPriceAfter() {
        return contractPriceAfter;
    }

    public void setContractPriceAfter(BigDecimal contractPriceAfter) {
        this.contractPriceAfter = contractPriceAfter;
    }

    public BigDecimal getWholeFloat() {
        return wholeFloat;
    }

    public void setWholeFloat(BigDecimal wholeFloat) {
        this.wholeFloat = wholeFloat;
    }

    public BigDecimal getIsDeduct() {
        return isDeduct;
    }

    public void setIsDeduct(BigDecimal isDeduct) {
        this.isDeduct = isDeduct;
    }

    public BigDecimal getOriginalPriceBegin() {
        return originalPriceBegin;
    }

    public void setOriginalPriceBegin(BigDecimal originalPriceBegin) {
        this.originalPriceBegin = originalPriceBegin;
    }

    public BigDecimal getOriginalPriceAfter() {
        return originalPriceAfter;
    }

    public void setOriginalPriceAfter(BigDecimal originalPriceAfter) {
        this.originalPriceAfter = originalPriceAfter;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getCodes() {
        return codes;
    }

    public void setCodes(String codes) {
        this.codes = codes;
    }

    public String getProCode() {
        return proCode;
    }

    public void setProCode(String proCode) {
        this.proCode = proCode;
    }

    public String getContractName() {
        return contractName;
    }

    public void setContractName(String contractName) {
        this.contractName = contractName;
    }

    public String getOrgId() {
        return orgId;
    }

    public void setOrgId(String orgId) {
        this.orgId = orgId;
    }

    public Date getSignDate() {
        return signDate;
    }

    public void setSignDate(Date signDate) {
        this.signDate = signDate;
    }

    public String getSuppleCode() {
        return suppleCode;
    }

    public void setSuppleCode(String suppleCode) {
        this.suppleCode = suppleCode;
    }

    public String getContType() {
        return contType;
    }

    public void setContType(String contType) {
        this.contType = contType;
    }

    public String getIsPlan() {
        return isPlan;
    }

    public void setIsPlan(String isPlan) {
        this.isPlan = isPlan;
    }

    public String getAddBy() {
        return addBy;
    }

    public void setAddBy(String addBy) {
        this.addBy = addBy;
    }

    public Date getAddTime() {
        return addTime;
    }

    public void setAddTime(Date addTime) {
        this.addTime = addTime;
    }

    public String getUptBy() {
        return uptBy;
    }

    public void setUptBy(String uptBy) {
        this.uptBy = uptBy;
    }

    public Date getUptTime() {
        return uptTime;
    }

    public void setUptTime(Date uptTime) {
        this.uptTime = uptTime;
    }

    public String getProcessStatus() {
        return processStatus;
    }

    public void setProcessStatus(String processStatus) {
        this.processStatus = processStatus;
    }

    public String getProcessId() {
        return processId;
    }

    public void setProcessId(String processId) {
        this.processId = processId;
    }

    public String getMemo() {
        return memo;
    }

    public void setMemo(String memo) {
        this.memo = memo;
    }
}
